div {
    height: 100%;
    /*padding: 0px 4px;*/
}

:host ::ng-deep .xterm {
    height: 100%;
    padding: 0px 4px;
}